package client02;

/**
 * 饿汉式-静态变量
 */
public class Singleton1 {

    public static final Singleton1 INSTANCE = new Singleton1();

    public Singleton1() {

    }

    public static void main(String[] args) {
        Singleton1 instance = Singleton1.INSTANCE;
    }
}
